package edu.cqie.smartfarm.dto;

import edu.cqie.smartfarm.verify.anno.Status;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class DictionaryDTO {

    @ApiModelProperty(value = "字典列表ID")
    @NotNull(message = "字典列表ID不能为空")
    private Integer dictionaryListId;

    @ApiModelProperty(value = "字典值")
    private String value;

    @ApiModelProperty(value = "状态")
    @Status
    private Integer status;
}
